< Prev(J) / Next(K) > / View :

Filename: /text/shared/explorer/database/rep_main.xhp

(bookmark: bm_id1614429)
Report Builder

Report Builder

(variable: rep_main)Report Builder
(variable: rep_main)Report Builder(hd_id8773155.)

The Report Builder is a tool to create your own database reports. Unlike with the Report Wizard, using the Report Builder you can take control to design the report the way you want. The generated report is a Writer document that you can edit, too.
Report Builder は、ユーザー独自のデータベースレポートを作成するためのツールです。レポートウィザードと違って、Report Builder を使用すると、レポートを思いどおりにデザインすることができます。生成されたレポートは、編集可能な Writer ドキュメントにもなります。(par_id5248573.)

Note Icon 注マーク To use the Report Builder, the Report Builder extension must be installed. In addition, the Java Runtime Environment (JRE) software must be installed, and this software must be selected in Office.
Report Builder を使用するには、Report Builder 拡張機能をインストールする必要があります。 また、Java Runtime Environment (JRE) ソフトウェアをインストールする必要があり、これが Office で選択されている必要があります。(par_id7128818.)

To Install the Report Builder Extension
Report Builder 拡張機能をインストールする(hd_id3753776.)

  1. Choose Tools - Extension Manager to open the Extension Manager.
    「ツール」 → 「拡張機能マネージャ」を選択して、拡張機能マネージャ を開きます。(par_id5284279.)

  2. If you see the Report Builder in the Extension Manager list, then you do not need to install the extension. Else click the link "Get more extensions here". This opens your web browser at the address http://extensions.services.openoffice.org and shows a list of available extensions.
    [PO-fuzzy@shared\explorer\database.po] ※※※未訳※※※(par_id4494766.)

  3. Find the Report Builder extension. Click at the icon or the "click here" text link. This opens the download page for the extension.
    Report Builder 拡張機能を検索します。アイコンまたは「click here」テキスト リンクをクリックします。これで拡張機能のダウンロードページが開かれます。(par_id7858516.)

  4. Click the "Get it!" icon. The extension file will be downloaded to your computer.
    [PO-fuzzy@shared\explorer\database.po] 「Get it!」アイコンをクリックします。「report-builder.oxt」ファイルがコンピュータにダウンロードされます。(par_id973540.)

  5. Switch back from your web browser to the Office window. The Extension Manager should still be visible.
    Web ブラウザから Office ウィンドウに戻ります。 拡張機能マネージャは引き続き表示状態になっているはずです。(par_id4680928.)

  6. In the Extension Manager, click Add to open the Add extensions dialog.
    拡張機能マネージャで「追加」をクリックして「拡張機能の追加」ダイアログを開きます。(par_id9014252.)

  7. Select the extension file that you downloaded. Click Open.
    [PO-fuzzy@shared\explorer\database.po] ダウンロードした「report-builder.oxt」ファイルを選択して、「開く」をクリックします。(par_id6011841.)

    This starts the installation of the Report Builder extension.
    これによって Report Builder 拡張機能のインストールが開始されます。(par_id2591326.)

  8. Read the license. If you accept the license, click Accept to continue the installation.
    ライセンスを確認します。 ライセンスを受諾する場合、「同意する」をクリックしてインストールを続行します。(par_id6201666.)

  9. Click Close to close the Extension Manager.
    「閉じる」をクリックして拡張機能マネージャを閉じます。(par_id208136.)

  10. Restart Office. If the Quickstarter is running, also close the Quickstarter.
    [PO-fuzzy@shared\explorer\database.po] ※※※未訳※※※(par_id20813699.)

To install the JRE software
JRE ソフトウェアをインストールする(hd_id556047.)

The Report Builder requires an installed Java Runtime Environment (JRE).
Report Builder では、Java Runtime Environment (JRE) があらかじめインストールされている必要があります。(par_id4515823.)

  1. Choose (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office - Java.
    [PO-fuzzy@shared\explorer\database.po] ※※※未訳※※※(par_id4044312.)

  2. Wait up to one minute, while Office collects information on installed Java software on your system.
    Office によってシステムの Java ソフトウェアにインストールされている情報が収集されるまで最大 1 分間待ちます。(par_id1369060.)

    If a recent JRE version is found on your system, you see an entry in the list.
    システムで JRE の最新バージョンが検出された場合には、リストにその項目があります。(par_id860927.)

  3. Click the option button in front of the entry to enable this JRE version for use in Office.
    項目の手前にあるオプションボタンをクリックすると、Office でこの JRE バージョンが使用できるようになります。(par_id8581804.)

  4. Ensure that Use a Java runtime environment is enabled.
    「Java 実行環境を使用」 が有効になっていることを確認します。(par_id7730033.)

If no JRE version is found on your system, open your web browser and download the JRE software from http://www.java.com. Install the JRE software. Then restart Office and open (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office - Java again.
[PO-fuzzy@shared\explorer\database.po] ※※※未訳※※※(par_id6317636.)

To open the Report Builder
Report Builder を開く(hd_id9759514.)

  1. Open a Base file or create a new database. The database must contain at least one table with at least one data field and a primary key field.
    ベースファイルを開くか、新しいデータベースを作成します。 データベースには 1 つ以上のデータフィールドと 1 つのプライマリキーフィールドがある 1 つ以上のテーブルを含む必要があります。(par_id9076509.)

  2. Click the Reports icon in the Base window, then choose Create Report in Design View.
    Base ウィンドウでレポートのアイコンをクリックし、次にデザイン表示で「レポートの作成」を選択します。(par_id7050691.)

    The Report Builder window opens.
    「Report Builder」ウィンドウが開きます。 (par_id7118747.)

The Report Builder is divided into three parts. On the top you see the menu, with the toolbars below.
Report Builder は 3 つの部分に分かれています。最上部にメニューが表示され、その下にツールバーが表示されます。(par_id8283639.)

On the right you see the Properties window with the property values of the currently selected object.
右側に、現在選択されているオブジェクトのプロパティー値を示す「プロパティー」ウィンドウが表示されます。(par_id2291024.)

The left part of the Report Builder window shows the Report Builder view. The Report Builder view is initially divided into three sections, from top to bottom:
「Report Builder」ウィンドウの左部分に「Report Builder」ビューが表示されます。「Report Builder」ビューは、最初、上から下へ 3 つの部分に分かれています。(par_id2100589.)

  1. Page Header - drag control fields with fixed text into the Page Header area
    ページヘッダー → 固定テキストを持ったコントロールフィールドをページヘッダー領域にドラッグ(par_id5022125.)

  2. Detail - drag and drop database fields into the Detail area
    詳細 → そのデータベースフィールドを詳細領域にドラッグ & ドロップ(par_id6844386.)

  3. Page Footer - drag control fields with fixed text into the Page Footer area
    ページフッター → 固定テキストのコントロールフィールドをページフッター領域にドラッグ(par_id7018646.)

To insert an additional Report Header and Report Footer area choose Edit - Insert Report Header/Footer. These areas contain text that appears at the start and end of the whole report.
追加の レポートヘッダー および レポートフッター エリアを挿入するには、編集 → レポートヘッダー/フッターの挿入 を選択します。 これらのエリアには、レポート全体の最初と最後に表示されるテキストが含まれます。(par_id5857112.)

Click the "-" icon in front of an area name to collapse that area to one line in the Report Builder view. The "-" icon changes to a "+" icon, and you can click this to expand the area again.
エリア名の前の「-」アイコンをクリックすると、そのエリアが「Report Builder」ビューで 1 行に折りたたまれます。「-」アイコンが「+」アイコンに変わり、このアイコンをクリックすると、このエリアは再び展開されます。(par_id6042664.)

You insert database fields by drag-and-drop into the Detail area. See the section "To insert fields into the report" below.
「詳細」エリアにドラッグ&ドロップして、データベースフィールドを挿入します。 下の「レポートにフィールドを挿入する」セクションを参照してください。(par_id1589098.)

In addition, you can click the Label Field or Text Box icon in the toolbar, then drag a rectangle in the Page Header or Page Footer area, to define a text that is the same on all pages. You enter the text in the Label box of the corresponding Properties window. You can also add graphics by using the Graphics icon.
さらに、ツールバーで「ラベル」フィールドまたはテキストボックスのアイコンをクリックし、ページヘッダーまたはページフッターエリアに四角形をドラッグして、すべてのページで同じなるテキストを指定できます。 対応する「プロパティー」ウィンドウの「ラベル」ボックスにテキストを入力します。 「グラフィックス」アイコンを使用して、グラフィックスを追加することもできます。(par_id1278420.)

To connect the report to a database table
レポートをデータベーステーブルに接続する(par_id7479476.)

First you must connect the report to a database table.
最初にレポートをデータベーステーブルに接続する必要があります。(par_id3099154.)

  1. Move the mouse to the Properties view. You see two tab pages General and Data.
    マウスを「プロパティー」表示に移動させます。 「全般」と「データ」の 2 つのタブページが表示されます。(par_id2218390.)

  2. On the Data tab page, click Content to open the combo box.
    データタブページで、「内容」をクリックして、コンボボックスを開きます。(par_id7771538.)

  3. Select the table for that you want to create the report.
    レポートを作成するテーブルを選択します。(par_id366527.)

  4. After selecting the table, press the Tab key to leave the Content box.
    テーブルを選んだあと、タブキーを押してコンテントボックスから移動します。(par_id7996459.)

The Add Field window opens automatically and shows all fields of the selected table.
「フィールドの追加」ウィンドウが自動的に開いて、選択したテーブルのすべてのフィールドが表示されます。(par_id2531815.)

To insert fields into the report
レポートにフィールドを挿入する(par_id5927304.)

The Add Field window helps you to insert the table entries in the report. Click the Add Field icon in the toolbar to open the Add Field window.
「フィールドの追加」ウィンドウは、レポートにテーブルエントリを挿入するのに便利です。 ツールバーで「フィールドの追加」アイコンをクリックして、「フィールドの追加」ウィンドウを開きます。(par_id4503921.)

  1. Drag and drop the field names one by one from the Add Field window into the Detail area of the report. Position the fields as you like. Use the icons in the toolbars to align the fields.
    フィールド名を 1 つずつ「フィールドの追加」ウィンドウからレポートの「詳細」エリアにドラッグ&ドロップします。フィールドを好みの場所に配置します。ツールバーのアイコンを使用して、フィールドの位置を調整します。(par_id4051026.)

    It is not possible to overlap the fields. If you drop a table field on the Detail area, then a label and a text box are inserted.
    フィールドが重複することはできません。 テーブルフィールドを「詳細」エリアにドロップすると、ラベルおよびテキストボックスが挿入されます。(par_id3397320.)

  2. You can also insert text that should be the same on every page of the report. Click the Label Field iconIcon, then drag a rectangle in the Page Header or Page Footer area. Edit the Label property to show the text you want.
    レポートの各ページ上で同一であるべきテキストを挿入することも可能です。ラベル フィールド アイコンアイコンをクリックし、ページ ヘッダーまたはページ フッター領域に矩形をドラッグします。ラベル プロパティーを編集して、希望のテキストを表示させます。(par_id3059785.)

(bookmark: bm_id7889950)


(par_id7657399.)

(bookmark: bm_id3236182)


(par_id8925138.)

(bookmark: bm_id1251258)


(par_id5461897.)

(bookmark: bm_id8111819)


(par_id8919339.)

(bookmark: bm_id9116794)


(par_id4634235.)

(bookmark: bm_id4381847)


(par_id1393475.)

(bookmark: bm_id1336710)


(par_id6571550.)

(bookmark: bm_id1221655)


(par_id5376140.)

(bookmark: bm_id4408093)


(par_id9611499.)

(bookmark: bm_id6949369)


(par_id6765953.)

(bookmark: bm_id040920092222313)


(par_id0409200922242612.)

(bookmark: bm_id0409200922231489)


(par_id0409200922242617.)

(bookmark: bm_id040920092223576)


(par_id0409200922242661.)

After inserting fields in the Detail view, the report is ready for execution.
「詳細」表示でフィールドを挿入すると、レポートの実行準備が整います。(par_id1511581.)

To execute a report
レポートを実行する(par_id4881740.)

  1. Click the Execute Report iconIcon on the toolbar.
    ツールバーのレポートの実行アイコン アイコン をクリックします。(par_id8286385.)

A Writer document opens and shows the report you have created, which contains all values of the database table which you have insert.
Writer ドキュメントが開いて、作成したレポートが表示されます。このレポートには挿入したデータベーステーブルのすべての値が含まれます。(par_id2354197.)

If the database contents did change, execute the report again to update the result report.
データベースの内容が変更された場合、もう一度レポートを実行して結果のレポートを更新します。(par_id2485122.)

To edit a report
レポートを編集する(hd_id8746910.)

First decide if you want to edit the generated report, which is a static Writer document, or if you want to edit the Report Builder view and then generate a new report based on the new design.
最初に、スタティックな Writer ドキュメントである生成済みのレポートを編集するか、「Report Builder」ビューを編集して、新しいデザインに基づいて新しいレポートを生成するかを決めます。(par_id9636524.)

The Writer document is opened read-only. To edit the Writer document, click Edit FileIcon on the Standard toolbar.
Writer ドキュメントは、読み取り専用で開かれます。その Writer ドキュメントを編集するには、標準ツールバーのファイルの編集アイコン をクリックします。(par_id5941648.)

If you want to edit the Report Builder view, you can change some of its properties.
Report Builder の表示を編集する場合、いくつかのプロパティーを変更できます。(par_id8307138.)

Click in the Details area. Then in the Properties window, change some properties, for example the background color.
「詳細」エリアをクリックします。そして、「プロパティー」ウィンドウで背景の色などの一部のプロパティーを変更します。(par_id7138889.)

After finishing, click the Execute Report iconIcon to create a new report.
完了したら、レポートの実行アイコンアイコン をクリックして、新しいレポートを作成します。(par_id9869380.)

If you close the Report Builder, you will be asked if the report should be saved. Click Yes, give the report a name, and click OK.
Report Builder を閉じると、レポートを保存するかどうかを尋ねられます。「はい」をクリックし、レポートに名前を付けて、「OK」をクリックします。(par_id12512.)

Sorting the report
レポートの並べ替え(par_id2676168.)

Without sorting or grouping, the records will be inserted into the report in the order in which they are retrieved from the database.
並べ替えまたはグループ化を使用しないと、レコードはデータベースから取得した順序でレポートに挿入されます。(par_id2626422.)

  1. Open the Report Builder view and click the Sorting and Grouping iconIcon on the toolbar. You see the Sorting and Grouping dialog.
    Report Builder ビューを開いて、ツールバーの並べ替えおよびグループ化アイコンアイコン をクリックします。並べ替えおよびグループ化 ダイアログが表示されます。(par_id1743827.)

  2. In the Groups box, click the field which you want as the first sort field, and set the Sorting property.
    「グループ」ボックスで、最初の並べ替えフィールドにするフィールドをクリックして、「並べ替え」プロパティーを設定します。(par_id4331797.)

  3. Execute the report.
    レポートを実行します。(par_id4191717.)

Grouping
グループ化(par_id2318796.)

  1. Open the Report Builder view and click the Sorting and Grouping iconIcon on the toolbar. You see the Sorting and Grouping dialog.
    Report Builder ビューを開いて、ツールバーの並べ替えおよびグループ化アイコン アイコン をクリックします。並べ替えおよびグループ化ダイアログが表示されます。(par_id399182.)

  2. In the Groups box, open the Group Header list box and select to show a group header.
    「グループ」ボックスで「グループヘッダー」リストボックスを開き、グループヘッダーを表示するように選択します。(par_id7588732.)

  3. Click the Add Field iconIcon to open the Add Field window.
    フィールドの追加アイコン アイコン をクリックして、フィールドの追加ウィンドウを開きます。(par_id95828.)

  4. Drag-and-drop the field entry that you want to group into the group header section. Then drag-and-drop the remaining fields into the Detail section.
    グループ化するフィールドエントリをグループヘッダーセクションにドラッグ&ドロップします。 次に残りのフィールドを「詳細」セクションにドラッグ&ドロップします。(par_id5675527.)

  5. Execute the report. The report shows the grouped records.
    レポートを実行します。 このレポートには、グループ化されたレコードが表示されます。(par_id3496200.)

If you like to sort and group, open the Report Builder view, then open the Sorting and Grouping dialog. Select to show a Group Header for the fields that you want to group, and select to hide the Group Header for the fields that you want to be sorted. Close the Sorting and Grouping window and execute the report.
並べ替えやグループ化を実行する場合は、「Report Builder」ビューを開いて、「並べ替えとグループ化」ダイアログを開きます。グループ化するフィールドのグループヘッダーを表示するように選択し、並べ替えするフィールドのグループヘッダーを非表示にするように選択します。「並べ替えおよびグループ化」ウィンドウを閉じて、レポートを実行します。(par_id7599108.)

Updating and printing your data
データの更新と印刷(par_id888698.)

When you insert some new data or edit data in the table, a new report will show the updated data.
新しいデータを挿入するか、テーブルのデータを編集すると、新しいレポートが更新されたデータを表示します。(par_id3394573.)

Click the Reports iconIcon and double-click your last saved report. A new Writer document will be created which shows the new data.
レポート アイコンアイコン をクリックし、最後に保存したレポートをダブルクリックします。新しいデータを表示している新しい Wrter ドキュメントが作成されます。(par_id7594225.)

To print a report, choose File - Print from the Writer document.
レポートを印刷するには、Writer ドキュメントから 「ファイル」 → 「印刷」 を選択します。(par_id8147221.)


< Prev / Next >